import request from '@/utils/request'

// 查询项目下信息新增记录列表
export function listMessageCreationRecord(query) {
  return request({
    url: '/system/messageCreationRecord/list',
    method: 'get',
    params: query
  })
}

// 查询项目下信息新增记录详细
export function getMessageCreationRecord(id) {
  return request({
    url: '/system/messageCreationRecord/' + id,
    method: 'get'
  })
}

// 新增项目下信息新增记录
export function addMessageCreationRecord(data) {
  return request({
    url: '/system/messageCreationRecord',
    method: 'post',
    data: data
  })
}

// 修改项目下信息新增记录
export function updateMessageCreationRecord(data) {
  return request({
    url: '/system/messageCreationRecord',
    method: 'put',
    data: data
  })
}

// 删除项目下信息新增记录
export function delMessageCreationRecord(id) {
  return request({
    url: '/system/messageCreationRecord/' + id,
    method: 'delete'
  })
}
